
package com.hitechbangla.fctu.base.map;

import fctu.simulator.HTB_MAIN;
import java.awt.Graphics;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class BorderMap extends FCTUMap implements Serializable{
    public List<Loop> loopList = new ArrayList<Loop>();
    
    public BorderMap()
    {
    //name = "Border Map";
        name = "Bangladesh";
    }
    
    public void add(Loop l)
    {
        loopList.add(l);
    }
      
    public void draw(Graphics g, float ratio)
    {  
        ratio = HTB_MAIN.one_px_equivalent_naut;
         if(loopList.isEmpty() == true){
            return;
        }
        for(Loop loop : loopList)
        {
            loop.draw(g, ratio);
        }       
    }   
    
}
